﻿using System;
using System.Collections.Generic;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface ISubscribe
    {
        SubscribeInfo GetSubscribe(int id);

        IList<SubscribeInfo> GetSubscribes(bool isRead,int pageSize,int pageIndex,out int totalRecord);

        int Insert(SubscribeInfo subscribe);

        bool Delete(int id);

        bool UpdateIsRead(int id);
    }
}
